Using One Step at a Time Configuration

This section describes each configuration step shown in the One step configuration section. If you have executed the One step configuration, then you do not need to execute the scripts described in this section.

Configuring the Environment

You can find the environment configuration script in %TAFJ_HOME% \appserver\was\jython\ environmentConfiguration.py. This script helps you to set the TAFJ_HOME, ORACLE_TAFJ_JDBC_DRIVER_PATH, T24_MODELBANK_SHAREDLIB, TAFJ shared libraries, and -Dtafj.home properties.

Before running the script, you should define the parameters such as node, cell and server name to set the scope of the configuration, tafjHome and t24Home to specify the environment variable values. To do so edit the file available at %TAFJ_HOME%\appserver\was\jython\ tafj.py and set the following properties:

  • cell_name="localhostNode01Cell"
  • node_name="localhostNode01"
  • server_name="server1"
  • tafjHome="C:/product/appserver/websphere/TAFJ"
  • t24Home="C:/product/appserver/websphere/T24"
TIPS: To find your cell_name, go to WAS_HOME/${PROFILE_NAME}/config/cells.  This directory holds your cell name. If you go under this directory and then the nodes directory, you will find your node name.

Multiple Profiles

If you have multiple profiles defined and if you want to execute the scripts against a profile, which is not the default one, then you will have to add the profile name to the command below.

-profileName %PROFILE_NAME%

Enabling Security

Procedure

  1. Execute the script by enabling the admin console security. This will allow you to enter the admin user name and password through:
    • System prompt
    • The -user %ADMIN_USER_NAME% -password %ADMIN_USER_PASSWORD% command.
  1. Launch the following command from the command line:%WAS_HOME%\bin\ wsadmin -lang jython -f  environmentConfiguration.py
  2. Browse the administrative console to check if the following configurations are correct:
  • Environment > WebSphere variables
  • Environment > Shared Libraries
  • Server > Server Type > WebSphere application servers > #profileName# > (Server infrastructure)  Java and Process Management > Process definition > Java Virtual Machine
  • Generic JVM arguments:  -Dtafj.home= %TAFJ_HOME%

    Example: -Dtafj.home= /opt/wasapps/TAFJ

Configuring JMS Resources

To configure JMS resources, you need to run the script located at %TAFJ_HOME% \appserver\was\jython\ jmsConfiguration.py. This will create:

  • A service integration and add a bus member
  • A JMS connection factory
  • JMS Queues
  • A JMS topic
  • Activation specifications

Before running it, you have to define parameters such as node, cell and server name to set the scope of the configuration in the %TAFJ_HOME%\appserver\was\jython\ tafj.py file.

Procedure

  1. Launch the following command in the command line (refer to Configuring the Environment section for additional command parameters):
  2. %WAS_HOME%\bin\wsadmin -lang jython -f   jmsConfiguration.py

  3. Browse the administrative console to check if this step is correctly done.
  4. Click Service integration > Buses. You should see T24Bus.

    Messaging engines status (under Buses >T24 Bus > Messaging engines) should automatically be  (Started).

  5. Check if connection factory was created.
  6. Check if activation specs were created.
  7. Check if queues were created.
  8. Check if topics were created.

Configuring JDBC Resources

This section describes the configuration of Temenos Transact Oracle, DB2 and MSSQL databases.

Deploying TAFJ Application

TAFJ application deployment can be run automatically. The script is located at %TAFJ_HOME% \appserver\was\jython\TAFJapplicationDeployment.py

It executes the following actions:

  1. Deploy TAFJJEE_EAR.ear application.
  2. Before running it you have to define some parameters such as node, cell and server name to set the scope of the configuration in the %TAFJ_HOME%\appserver\was\jython\ tafj.py file.  You must also define the tafjHome as root folder to locate the applications to be deployed. That is:

    tafjHome="C:/product/appserver/websphere/TAFJ"

  3. Launch the following command in the command line.

    wsadmin -lang jython -f  TAFJapplicationDeployment.py

  4. Stop and restart your server to start the applications.
  5. Type the stopServer <your_server_name> command in the command line.
  6. Type the startServer < your_server_name > command in the command line.
  7. Browse the administrative console to check if the application is correctly deployed and started.

Logging Configuration

Since PB201607 the default logging API being used is Log4j 2. To keep using former Log4j 1.2 with existing TAFJTrace configuration, you need to do the following modifications in your TAFJ shared lib:

  1. Delete $TAFJ_HOME/lib/log4j-api.jar and $TAFJ_HOME/lib/log4j-api.jar 
  2. Copy $TAFJ_HOME/3rdParty/logging/log4j12/log4j.jar to $TAFJ_HOME/lib/log4j.jar
  3. Provide as a server JVM argument the logging API to use.

    -Dtemenos.log.api=LOG4J

TAFJ Servlets

The TAFJJEE_EAR.ear file sets MDB (TAFJJEE_MDB.jar) and EJB (TAFJJEE_EJB.jar) to read message from JMS Queues, call Temenos Transact and publish response in reply queues.

It also contains a WAR file to deploy helper servlet.

http://localhost:8080/TAFJEE

NOTE: For more information, please refer to the TAFJ-AS TAFJ documentation.

Deploying Temenos Transact Application

Temenos Transact application – BrowserWeb.war deployment can be run automatically.

The script is located at %TAFJ_HOME% \appserver\was\jython\ T24applicationDeployment.py. On executing this script, it deploys Browserweb.war.

Before running it you have to define some parameters such as node, cell and server name to set the scope of the configuration in the %TAFJ_HOME%\appserver\was\jython\ tafj.py file.  You must also define the browserWebHome as root folder to locate the Browserweb.war to be deployed. That is:

browserWebHome="C:/product/appserver/websphere/TAFJ/appserver"

Procedure

  1. Launch the following command in the command line.wsadmin -lang jython -f  T24applicationDeployment.py
  2. Stop and restart your server to start the application. You can then browse the administrative console to check it has been correctly deployed and started.

Copyright © 2020- Temenos Headquarters SA

Published on :
Friday, October 22, 2021 3:41:24 PM IST

Feedback
x